﻿Public Class ManageEmployees
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub


    Protected Sub manageEmployeeButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles manageWorkshopEmployeesButton.Click
        Response.Redirect("ManageEmployees.aspx")
    End Sub

    Protected Sub manageWorkshops_Click(ByVal sender As Object, ByVal e As EventArgs) Handles manageWorkshopsButton.Click
        Response.Redirect("AdminHome.aspx")
    End Sub

    Protected Sub viewProfile_Click(ByVal sender As Object, ByVal e As EventArgs) Handles viewProfileButton.Click
        Response.Redirect("/User_View/EmployeeView/ViewProfile.aspx")

    End Sub

    Protected Sub GridView1_Deleted(ByVal sender As Object, ByVal e As GridViewDeleteEventArgs) Handles GridView1.RowDeleting
        Membership.DeleteUser(e.Values.Item(0).ToString)
    End Sub

    Protected Sub createUserButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles createUserButton.Click
        Response.Redirect("/Employee_Management/CreateUser.aspx")
    End Sub
End Class